package com.qf.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ResultVO<T>{
    private Boolean aBoolean;

    private String res;

    public ResultVO(Boolean aBoolean, String res,T data) {
        this.aBoolean = aBoolean;
        this.res = res;
        this.data = data;
    }

    public ResultVO(Boolean aBoolean, String res) {
        this.aBoolean = aBoolean;
        this.res = res;
    }

    private T data;

    private String code;
}
